QuickOPC User's Guide and Reference
GetNode<T>(UAEndpointDescriptor,UANodeDescriptor) Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Modelling Namespace > UAModelClient Class > GetNode Method : GetNode<T>(UAEndpointDescriptor,UANodeDescriptor) Method
The type of node to be obtained.
Endpoint descriptor. Identifies the OPC-UA server.
Node descriptor. Identifies the node in OPC server's address space.
Obtains a node from the model client. The type of the node object and the type of the return value is specified using a generic type parameter.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Overloads Function GetNode(Of T As Class)( _
   ByVal endpointDescriptor As UAEndpointDescriptor, _
   ByVal nodeDescriptor As UANodeDescriptor _
) As T
'Usage
 
Dim instance As UAModelClient
Dim endpointDescriptor As UAEndpointDescriptor
Dim nodeDescriptor As UANodeDescriptor
Dim value As T
 
value = instance.GetNode(Of T)(endpointDescriptor, nodeDescriptor)
[NotNull()]
public:
T^ GetNodegeneric<typename T>
( 
   UAEndpointDescriptor^ endpointDescriptor,
   UANodeDescriptor^ nodeDescriptor
) 
where T: ref class

Parameters

endpointDescriptor
Endpoint descriptor. Identifies the OPC-UA server.
nodeDescriptor
Node descriptor. Identifies the node in OPC server's address space.

Type Parameters

T
The type of node to be obtained.

Return Value

Returns the specified node obtained from the model client.
Requirements

Target Platforms: Windows 7 with SP1, Windows Server 2008 R2 with SP1

See Also

Reference

UAModelClient Class
UAModelClient Members
Overload List